def toResponse(code:int, message:str, data:dict):
    response = {'code': code, 'message': message, 'data': data}
    return response
